﻿<Window x:Class="EsriMapTest.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:esri="http://schemas.esri.com/arcgis/client/2009"
        Height="350" Width="525">
    <Grid>

    <Grid.RowDefinitions>
      <RowDefinition Height="*" />
      <RowDefinition Height="200" />
    </Grid.RowDefinitions>

    <esri:Map x:Name="Esri" Grid.RowSpan="2" Loaded="MapLoaded" >
      <esri:Map.Extent>
        <esri:Envelope  XMin="-10000000" XMax="-3000000" YMin="0" YMax="7000000" >
          <esri:Envelope.SpatialReference>
            <esri:SpatialReference WKID="102113" />
          </esri:Envelope.SpatialReference>
        </esri:Envelope>
      </esri:Map.Extent>
    </esri:Map>

    <StackPanel x:Name="Layout" Orientation="Horizontal" VerticalAlignment="Top" Grid.Row="0" Height="25">
      <ToggleButton Content="Animate" ToolTipService.ToolTip="Animates point symbols" Width ="75" Click="ButtonClick" />
    </StackPanel>

  </Grid>
</Window>
